package com.baichang.taoshunda.entity;

import com.baichang.framework.annotation.jdbc.Generator;
import com.baichang.framework.annotation.jdbc.Id;
import com.baichang.framework.annotation.jdbc.Table;
import com.baichang.framework.entity.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;


@Table(name = "t_user")
public class User extends BaseEntity {

    /**
     * 用户
     **/
    private Integer id;
    /**
     * 账号
     **/
    private String account;
    /**
     * 密码
     **/
    private String pwd;
    /**
     * 创建时间
     **/
    private Date created;
    /**
     * 最后登录时间
     **/
    private Date lastTime;
    /**
     * 用户状态
     **/
    private Integer userState;
    /**
     * 昵称
     **/
    private String nickName;
    /**
     * 头像
     **/
    private String headPic;
    /**
     * 环信账号
     */
    private String hxName;
    /**
     * 环信密码
     */
    private String hxPwd;
    /**
     * 性别   男  女
     */
    private String sex;
    /**
     * 身份证号
     */
    private String cardId;
    /**
     * 身份证上的名字
     */
    private String cardName;
    /**
     * 是否实名认证
     * 0 否
     * 1 是
     **/
    private Integer isCertification;
    /**
     * 是否通过认证
     * 0 否
     * 1 是
     **/
    private Integer isCertificate;

    private String trendsUserId;
    private String ryToken;
    private String backgroundImage;
    /**
     * 自提预约电话
     */
    private String inviteAccount;
    private BigDecimal redPacket;
    private BigDecimal rebateAmount;
    /**
     * 手持身份证照
     **/
    private String handheldPhotos;
    /**
     * 身份证正面
     **/
    private String fontCard;
    /**
     * 身份证反面
     **/
    private String reverseCard;

    /**
     * 用户
     **/
    @Id
    @Generator
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTrendsUserId() {
        return trendsUserId;
    }

    public void setTrendsUserId(String trendsUserId) {
        this.trendsUserId = trendsUserId;
    }

    /**
     * 账号
     **/
    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    /**
     * 密码
     **/
    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    /**
     * 创建时间
     **/
    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    /**
     * 最后登录时间
     **/
    public Date getLastTime() {
        return lastTime;
    }

    public void setLastTime(Date lastTime) {
        this.lastTime = lastTime;
    }

    /**
     * 用户状态
     **/
    public Integer getUserState() {
        return userState;
    }

    public void setUserState(Integer userState) {
        this.userState = userState;
    }

    /**
     * 昵称
     **/
    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    /**
     * 头像
     **/
    public String getHeadPic() {
        return headPic;
    }

    public void setHeadPic(String headPic) {
        this.headPic = headPic;
    }

    public String getHxName() {
        return hxName;
    }

    public void setHxName(String hxName) {
        this.hxName = hxName;
    }

    public String getHxPwd() {
        return hxPwd;
    }

    public void setHxPwd(String hxPwd) {
        this.hxPwd = hxPwd;
    }

    public String getRyToken() {
        return ryToken;
    }

    public void setRyToken(String ryToken) {
        this.ryToken = ryToken;
    }

    public String getBackgroundImage() {
        return backgroundImage;
    }

    public void setBackgroundImage(String backgroundImage) {
        this.backgroundImage = backgroundImage;
    }

    public BigDecimal getRedPacket() {
        return redPacket;
    }

    public void setRedPacket(BigDecimal redPacket) {
        this.redPacket = redPacket;
    }

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }

    public String getCardName() {
        return cardName;
    }

    public void setCardName(String cardName) {
        this.cardName = cardName;
    }

    public String getHandheldPhotos() {
        return handheldPhotos;
    }

    public void setHandheldPhotos(String handheldPhotos) {
        this.handheldPhotos = handheldPhotos;
    }

    public String getFontCard() {
        return fontCard;
    }

    public void setFontCard(String fontCard) {
        this.fontCard = fontCard;
    }

    public String getReverseCard() {
        return reverseCard;
    }

    public void setReverseCard(String reverseCard) {
        this.reverseCard = reverseCard;
    }

    public Integer getIsCertification() {
        return isCertification;
    }

    public void setIsCertification(Integer isCertification) {
        this.isCertification = isCertification;
    }

    public Integer getIsCertificate() {
        return isCertificate;
    }

    public void setIsCertificate(Integer isCertificate) {
        this.isCertificate = isCertificate;
    }

    public BigDecimal getRebateAmount() {
        return rebateAmount;
    }

    public void setRebateAmount(BigDecimal rebateAmount) {
        this.rebateAmount = rebateAmount;
    }

    public String getInviteAccount() {
        return inviteAccount;
    }

    public void setInviteAccount(String inviteAccount) {
        this.inviteAccount = inviteAccount;
    }
}